package com.baosight.risk.mapper.xtzy;

import com.baosight.risk.base.mapper.BaseMapper;
import com.baosight.risk.service.xtzy.entity.XtzyIntegral;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface XtzyIntegralMapper extends BaseMapper<XtzyIntegral> {

    void insertOrUpdateIntegral(@Param("integral") XtzyIntegral integral);
    List<Map<String,Object>> selectIntegral(@Param("integral") XtzyIntegral integral);
    void insertIntegral(@Param("integral") XtzyIntegral integral);
    void updateIntegral(@Param("integral") XtzyIntegral integral);

    XtzyIntegral selectIntegralInfoByUserCode(String userCode);
}
